{% load static %}
<link rel="stylesheet" href="{% static 'adminpage.css' %}">

<head>
  <title>MMS Test</title>
    <link rel="icon" type="image/x-icon" href="/static/11.png">
</head>


<h1 >MMS(Mail-Management-System)</h1>

<br></br>
<br></br>
<br></br>
<h2 style="color: white; margin-bottom:2ch; text-align: center;">收件箱</h2>
<div class="tb" id="block1">
    <table class="rwd-table">
    <tr>
        <th>邮件ID</th>
        <th>邮件标题</th>
        <th>邮件正文</th>
        <th>发送者ID</th>
        <th>接收时间</th>
        <th>附件ID</th>
        <th>附件名称</th>
        <th>附件url地址</th>
      </tr>
    
{% for x in email_appendix %}
<tr>
<td>{{ x.email_id }}</td>
<td>{{ x.email_theme }}</td>
<td>{{ x.email_content }}</td>
<td>{{ x.sender_id }}</td>
<td>{{ x.sent_time }}</td>
<td>{{ x.appendix_id }}</td>    
<td>{{ x.appendix_name }}</td>        
<td><a href="https://{{ x.appendix_url }}">{{ x.appendix_url }}</a></td>
</tr>
{% endfor %}

        
        
</table>

</div>


